package cn.gemiman.daoyi.module.iot.controller.admin.userequipment.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Schema(description = "管理后台 - 会员设备新增/修改 Request VO")
@Data
public class UserEquipmentSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "5898")
    private Long id;

    @Schema(description = "设备厂商", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "设备厂商不能为空")
    private Integer equipmentManufacturer;

    @Schema(description = "设备编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "12984")
    @NotNull(message = "设备编号不能为空")
    private Long equipmentId;

    @Schema(description = "场所编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "10339")
    @NotNull(message = "场所编号不能为空")
    private Long placeId;

    @Schema(description = "会员编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1875")
    @NotNull(message = "会员编号不能为空")
    private Long memberUserId;

}
